<?php
/**
 * Created by PhpStorm.
 * User: lgy
 * Date: 2018/5/27
 * Time: 16:58
 */

namespace app\index\model;
use think\Db;
use think\Model;

class Admin extends Model
{
		public static function getEnroll(){
			$result = Db::table('dbkj_enroll')->order('create_time DESC')->select();
			return $result;
		}
	public static function getOrder(){
		$result = Db::table('dbkj_order')->order('create_time DESC')->select();
		return $result;
	}
}